package com.fishingwithme.domain.settings;

import com.fishingwithme.infrastructure.mapper.AgrPpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AgrPpServiceImpl implements AgrPpService {
    @Autowired
    private AgrPpMapper agrpPpMapper;

    @Override
    public AgrPp getAgrPp(String type, int version) {
        return null;
    }

    @Override
    public AgrPp getLatest(String type) {
        return agrpPpMapper.selectByType(type);
    }
}
